package com.dlc.shop.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dlc.shop.bean.model.NoticeTag;
import com.dlc.shop.dao.NoticeTagMapper;
import com.dlc.shop.service.NoticeTagService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 公告用户标签关联信息
 * @author LGH
 */
@Service
@AllArgsConstructor
public class NoticeTagServiceImpl extends ServiceImpl<NoticeTagMapper, NoticeTag> implements NoticeTagService {

    private final NoticeTagMapper noticeTagMapper;

    @Override
    public List<Long> listNoticeIdByUserId(String userId) {
        return noticeTagMapper.listNoticeIdByUserId(userId);
    }
}
